package com.icehand.common.model;

import com.icehand.common.enums.TradeStatusEnum;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author icehand
 */
@Data
@Accessors(chain = true)
public class BaseOrder {
    private String orderNo;
    private BigDecimal amount;
    private Date expireTime;
    private Date createTime;
    private Date payTime;
    private String body;
    private String subject;
    private String extra;

    /**
     *  交易支付的状态
     * @see TradeStatusEnum
     */
    private TradeStatusEnum tradeStatus;
}
